package com.messe.base.models;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;
/**
 * Facility entity. @author MyEclipse Persistence Tools
 */

public class Facility implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7204529156807966126L;
	private String id;
	private String parentId;
	private Integer type;
	private BigDecimal squareFootage;
	private Set<FacilityAppendix> facilities = new HashSet<FacilityAppendix>(0);
	//private Set exhibitionFacilityRels = new HashSet(0);
	private Set<Pavilion> pavilions = new HashSet<Pavilion>(0);
	private Set<PavilionAppendix> pavilionAppendixs = new HashSet<PavilionAppendix>(0);
	
	// Constructors

	/** default constructor */
	public Facility() {
	}

	/** minimal constructor */
	public Facility(String id) {
		this.id = id;
	}



	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}



	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Set<FacilityAppendix> getFacilities() {
		return facilities;
	}

	public void setFacilities(Set<FacilityAppendix> facilities) {
		this.facilities = facilities;
	}

	public Set<Pavilion> getPavilions() {
		return pavilions;
	}

	public void setPavilions(Set<Pavilion> pavilions) {
		this.pavilions = pavilions;
	}

	public Set<PavilionAppendix> getPavilionAppendixs() {
		return pavilionAppendixs;
	}

	public void setPavilionAppendixs(Set<PavilionAppendix> pavilionAppendixs) {
		this.pavilionAppendixs = pavilionAppendixs;
	}

	public BigDecimal getSquareFootage() {
		return squareFootage;
	}

	public void setSquareFootage(BigDecimal squareFootage) {
		this.squareFootage = squareFootage;
	}


}